package com.android.helix;

import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;

import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;

import android.content.Context;
import android.opengl.GLES20;
import android.opengl.GLSurfaceView;
import android.opengl.GLUtils;
import android.opengl.Matrix;
import android.os.SystemClock;
import android.util.Log;

class HelixRenderer implements GLSurfaceView.Renderer{
	public HelixRenderer(Context context) {
		mScene3D = new Scene3D(context);
	}
	public void onSurfaceCreated(GL10 glUnused, EGLConfig config){
		mScene3D.onSurfaceCreated();
	}
	
	public void onDrawFrame(GL10 glUnused){
		mScene3D.onDrawFrame();
	}
	
	public void onSurfaceChanged(GL10 glUnused, int width, int height){
		mScene3D.onSurfaceChanged(width, height);
	}
	
    Scene3D mScene3D;
}
